#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

void print()
{
    vector<int> vi1{1, 2, 3, 4};
    vector<int> vi2;
    vi2.assign(vi1.begin() + vi1.size() / 2, vi1.end());

    vi2.clear();
    copy(vi1.begin() + vi1.size() / 2, vi1.end(), back_inserter(vi2));
    vi2.insert(vi2.end(), vi1.begin() + vi1.size() / 2, vi1.end());
}

int main(int argc, char *argv[])
{
    return 0;
}
